import request from '@/utils/request'
import { BASE_URL, BASE_URL1 } from '@/utils/baseUrl.js'
// 获取首页的组件
export function getModuleByPage(data) {
    const url = BASE_URL1 + 'v1/page/getModuleByPage'
    return request({
        url: url,
        method: 'post',
        data,
        header: {
            'Content-Type': 'application/x-www-form-urlencoded',
        }
    })
}
export function findProductDictList(data) {
    const url = BASE_URL + 'dict/findProductDictList'
    return request({
        url: url,
        method: 'get',
        data,
        header: {
            'Content-Type': 'application/x-www-form-urlencoded',
        }
    })
}